CFLAGS+=-Wall
LDFLAGS+=-lpthread

all:mysem

mysem: main.o mysem.o
	gcc $(CFLAGS) $^ -o $@ $(LDFLAGS)

clean:
	rm *.o mysem
